package com.tcm.smarthealth.dto;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.List;

@Schema(name = "HistoryResponse", description = "健康档案聚合响应")
public class HistoryResponse {

    @Schema(description = "统计信息")
    private HistoryStatsResponse stats;

    @Schema(description = "时间线记录")
    private List<HistoryItemResponse> items;

    public HistoryStatsResponse getStats() {
        return stats;
    }

    public void setStats(HistoryStatsResponse stats) {
        this.stats = stats;
    }

    public List<HistoryItemResponse> getItems() {
        return items;
    }

    public void setItems(List<HistoryItemResponse> items) {
        this.items = items;
    }
}

